Window.DragOver Event

Fired when the DragItem is over the Window. The coordinates x and y are relative to the Window.

Syntax

result = DragOver( x, y, obj, Action )


Parameters

x

Integer

y

Integer

obj

DragItem

Action

Integer

Return Value

Result

Boolean


Notes

Returns a Boolean. Return True from this event to prevent the drop from occurring.

The Action parameter specifies the drag action. It can take the following class constants of the DragItem class:

0: DragItem.DragActionDefault

1: DragItem.DragActionCopy

2: DragItem.DragActionMove

3: DragItem.DragActionLink